JOYSTICK LEFT

This command will return an integer value of one if the default joystick is pushed left, otherwise zero is return.

  Syntax
Return Integer=JOYSTICK LEFT()
  Returns

The command will return an integer value of one if the default joystick is pushed left, otherwise zero is return

  Example Code
do
cls
print "joystick up "+str$(joystick up())
print "joystick down "+str$(joystick down())
print "joystick left "+str$(joystick left())
print "joystick right "+str$(joystick right())
loop
end
  See also

INPUT Commands Menu
Index